﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="height:100%">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<script type="text/javascript" src="../libs/FCKeditor-v2.6.3/fckeditor/fckeditor.js"></script>
</head>
<body style="height:100%;border:0px;margin:0px;padding:0px;">
<textarea name="FCKeditor1" rows="10" cols="80" style="width: 100%; height: 100%">write here</textarea>
		<script type="text/javascript">

var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
oFCKeditor.BasePath	= "../libs/FCKeditor-v2.6.3/fckeditor/" ;
oFCKeditor.Height	= "100%" ;
oFCKeditor.ReplaceTextarea() ;

var save = function(){
	var oEditor = FCKeditorAPI.GetInstance('FCKeditor1') ;
	var str = oEditor.GetXHTML( true );
	top.myglobal.FCKCcontent = str;
}
var set = function(content){
	var oEditor = FCKeditorAPI.GetInstance('FCKeditor1') ;
	oEditor.SetData(content );
}
		</script>
</body>
</html>